//
//  TabView.h
//  SinaWeiBo
//
//  Created by 姚建强 on 15-2-11.
//  Copyright (c) 2015年 com.yjq. All rights reserved.
//

#import <UIKit/UIKit.h>

#define TABHIGHT 49
#define TABY [UIScreen mainScreen].bounds.size.height-TABHIGHT
@protocol TabViewDelegate<NSObject>
-(void) tabviewSeletedItem:(NSInteger *)index;
@end
@interface TabView : UIView
@property(nonatomic,assign) id<TabViewDelegate> delegate;

/*!
 *
 *
 *  @param frame      frame
 *  @param itemModels item数据数组
 *
 */
- (id)initWithFrame:(CGRect )frame AndItemModels:(NSArray*) itemModels;
@end
